#include "mpHttpException.h"

namespace MP{
namespace HTTP{

HttpException::HttpException(const std::string &message)
    : message_(message)
{
}

HttpException::HttpException(std::string &&message)
    : message_(std::move(message))
{
}

const char *HttpException::what() const noexcept
{
    return message_.c_str();
}


}   //HTTP
}   //MP
